From ddb76c5b25774baf74e337a5a2fc63f36c66efcb Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 15 May 2007 09:54:27 +0100 Subject: [PATCH] x86: suppress SYSCALL feature for 32on64 guests since Xen cannot handle it. Signed-off-by: Jan Beulich --- xen/arch/x86/traps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index e139a256ab..61160cb504 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -597,6 +597,8 @@ static int emulate_forced_invalid_op(struct cpu_user_regs *regs) else if ( regs->eax == 0x80000001 ) { /* Modify Feature Information. */ + if ( is_pv_32bit_vcpu(current) ) + clear_bit(X86_FEATURE_SYSCALL % 32, &d); clear_bit(X86_FEATURE_RDTSCP % 32, &d); } else -- 2.30.2